/**
 * area
 * =======================================
 * list
 * edit
 * remove
 * view
 * statusList
 * changeStatus
 */

import request from '@/utils/request'

// list
export function list(data) {
  return request({
    url: '/api/uni/product/area/list',
    method: 'post',
    data
  })
}

// edit
export function edit(data) {
  return request({
    url: '/api/uni/product/area/edit',
    method: 'post',
    data
  })
}

// remove
export function remove(data) {
  return request({
    url: '/api/uni/product/area/remove',
    method: 'post',
    data
  })
}

// view
export function view(data) {
  return request({
    url: '/api/uni/product/area/view',
    method: 'post',
    data
  })
}

// statusList
export function statusList(data) {
  return request({
    url: '/api/uni/product/area/status-list',
    method: 'post',
    data
  })
}

// changeStatus
export function changeStatus(data) {
  return request({
    url: '/api/uni/product/area/change-status',
    method: 'post',
    data
  })
}
